package com.htudata.live.pojo.vo;

import lombok.Data;

import java.io.Serializable;
@Data
public class AlarmsCurrentVO implements Serializable {
  private static final long serialVersionUID = -4635087852443870254L;
  
  private int alarmId;
  
  private String itemId;
  
  private int flowId;
  
  private String startTime;
  
  private String flowName;
  
  private String hostName;
  
  private int level;
  
  private String color;
  
  private String problem;
  
  private int status;
  
  private String duration;

  public boolean equals(Object o) {
    if (o == this)
      return true; 
    if (!(o instanceof AlarmsCurrentVO))
      return false; 
    AlarmsCurrentVO other = (AlarmsCurrentVO)o;
    if (!other.canEqual(this))
      return false; 
    if (getAlarmId() != other.getAlarmId())
      return false; 
    Object this$itemId = getItemId(), other$itemId = other.getItemId();
    if ((this$itemId == null) ? (other$itemId != null) : !this$itemId.equals(other$itemId))
      return false; 
    if (getFlowId() != other.getFlowId())
      return false; 
    Object this$startTime = getStartTime(), other$startTime = other.getStartTime();
    if ((this$startTime == null) ? (other$startTime != null) : !this$startTime.equals(other$startTime))
      return false; 
    Object this$flowName = getFlowName(), other$flowName = other.getFlowName();
    if ((this$flowName == null) ? (other$flowName != null) : !this$flowName.equals(other$flowName))
      return false; 
    Object this$hostName = getHostName(), other$hostName = other.getHostName();
    if ((this$hostName == null) ? (other$hostName != null) : !this$hostName.equals(other$hostName))
      return false; 
    if (getLevel() != other.getLevel())
      return false; 
    Object this$color = getColor(), other$color = other.getColor();
    if ((this$color == null) ? (other$color != null) : !this$color.equals(other$color))
      return false; 
    Object this$problem = getProblem(), other$problem = other.getProblem();
    if ((this$problem == null) ? (other$problem != null) : !this$problem.equals(other$problem))
      return false; 
    if (getStatus() != other.getStatus())
      return false; 
    Object this$duration = getDuration(), other$duration = other.getDuration();
    return !((this$duration == null) ? (other$duration != null) : !this$duration.equals(other$duration));
  }
  
  protected boolean canEqual(Object other) {
    return other instanceof AlarmsCurrentVO;
  }

}
